package com.xuhuan.demo.pattern.decorator.decorator;

import com.xuhuan.demo.pattern.decorator.Drink;

/**
 * @author huan.xu
 * @date 2021/10/6 23:08
 * @description 牛奶
 */
public class Milk extends Decorator {

    public Milk(Drink coffee) {
        super(coffee);
        super.setDescription("牛奶");
        super.setPrice(2.0f);
    }
}
